const crypto = require('crypto');
const logger = require('../util/log');

class MD5 {

    /**
     * MD5计算
     */
    static async encodeMD5(text){
        return crypto.createHash('md5').update(text).digest('hex');
    }

}
module.exports = MD5;
